QuickOPC User's Guide and Reference
UAAttributeDataResult<T> Constructor(Object,Exception,UAAttributeData<T>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Generic Namespace > UAAttributeDataResult<T> Class > UAAttributeDataResult<T> Constructor : UAAttributeDataResult<T> Constructor(Object,Exception,UAAttributeData<T>)
The state object specified when the operation was invoked.
The reason of the failure of the operation.
The typed OpcLabs.EasyOpc.UA.UAAttributeData (value, timestamps and status code) that is a successful result of the operation.
Initializes a new instance of the class. Initializes a new instance of the class, with given state object, exception, and UAAttributeData<TValue>.
Syntax
'Declaration
 
Public Function New( _
   ByVal state As Object, _
   ByVal exception As Exception, _
   ByVal attributeData As UAAttributeData(Of T) _
)
'Usage
 
Dim state As Object
Dim exception As Exception
Dim attributeData As UAAttributeData(Of T)
 
Dim instance As New UAAttributeDataResult(Of T)(state, exception, attributeData)
public UAAttributeDataResult<T>( 
   object state,
   Exception exception,
   UAAttributeData<T> attributeData
)
public:
UAAttributeDataResult<T>( 
   Object^ state,
   Exception^ exception,
   UAAttributeData<T^>^ attributeData
)

Parameters

state
The state object specified when the operation was invoked.
exception
The reason of the failure of the operation.
attributeData
The typed OpcLabs.EasyOpc.UA.UAAttributeData (value, timestamps and status code) that is a successful result of the operation.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also